<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<h1>解构对象</h1>
		<p>对象解构就是把对象解析为单独的变量</p>
		<p>不用按顺序解构</p>
		<script>
			let obj = {name:"mumu",age:18,job:"teacher"}
			let{age,name} =obj;
			console.log(name)
			console.log(age);
		
		</script>
	</body>
</html>
